<template>
  <div class="purchasehistory">
      <div class="top">
      <el-row :gutter="5">
        <el-col :span="3">
          <el-select v-model="value" placeholder="创建时间">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="5">
          <el-date-picker
          size="small"
                v-model="value1"
                type="daterange"
                start-placeholder="开始日期"
                end-placeholder="结束日期">
              </el-date-picker>
        </el-col>
        <el-col :span="3">
          <el-select v-model="value" placeholder="选择供应商">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="3">
          <el-select v-model="value" placeholder="全部分类">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="3">
          <el-input v-model="input" placeholder="请选商品名搜索"></el-input>
        </el-col>
      </el-row>
      </div>
      <el-row :gutter="20">
      <el-col :span="12"><tabletitlesleft /></el-col>
      <el-col :span="12"><tabletitleright /></el-col>
      </el-row>
  </div>
</template>

<script>
  import tabletitlesleft from './commoditytablesLeft.vue'
  import tabletitleright from './commoditytablesright'
  export default{
    data(){
      return {
        value1:''
      }
    }
    ,components:{
      tabletitlesleft,
      tabletitleright
    }
  }

</script>

<style>
  .purchasehistory .top{
    margin-bottom: 10px;
  }
 .purchasehistory .el-date-editor--daterange.el-input__inner{
  width: 100%;
}
</style>
